package ay.shadow.gateway.nacos.impl;

import ay.shadow.gateway.nacos.AvailableService;
import org.springframework.cloud.client.ServiceInstance;
import org.springframework.stereotype.Service;

import java.net.http.HttpRequest;

/**
 * @author shadow
 */
@Service
public class AvailableServiceImpl implements AvailableService {
    /**
     * 根据serviceId 获取nacos中可用服务
     *
     * @param serviceId 服务ID
     * @param request   当前请求
     */
    @Override
    public ServiceInstance available(String serviceId, HttpRequest request) {

        return null;
    }
}
